package com.zycx.common.constant.JWT;

import java.util.Date;

/**
 * Description:  JWT 常量
 * Created by zycx on 2018-12-05 22:29
 * Created with IntelliJ IDEA.
 */
public class JWTConstants {

    // token 生成秘钥
    public static final String Token_JWT_SECRET = "7786df7fc3a34e26a61c034d5ec8245d";

    //  token 过期时间  七天
    public static final Date Token_Expired_Jwt  = new Date(System.currentTimeMillis() + 1000 * 60 * 60 * 24 * 7);

    // token 请求头
    public static final String Token_Request_Header = "Bearer ";

}
